package com.jl.model.niuniu.enums;

/*
下注
 */
public enum Bets {

    type1("1","1/2/3/4"),
    type2("2","2/4/6/8"),
    type3("3","5/10/15/20"),
    type4("4","10/20/30/40"),
    type5("5","0.2/0.4/0.6/0.8");

    private String id;
    private String desc;

    Bets(String id, String desc) {
        this.id = id;
        this.desc = desc;
    }

    public static String getDescById(String id){
        Bets[] values = Bets.values();
        for (Bets bets : values) {
            if (bets.getId().equals(id)){
                return bets.getDesc();
            }
        }
        return null;
    }

    public String getId() {
        return id;
    }

    public String getDesc() {
        return desc;
    }

}
